//获取应用实例    
var app = getApp()    
Page({    
  data: {
    movies:[    
      {
        url:'../../images/xq/xiangqing1.jpg',
        content: 'choushabi'
      } ,       
      { 
        url:'../../images/xq/xiangqing2.jpg',
        content: 'choushabi'
      },
      {
        url:'../../images/xq/xiangqing3.jpg',
        content: 'choushabi'
      },
      {
        url:'../../images/xq/xiangqing4.jpg',
        content: 'choushabi'
      },
      {
        url:'../../images/xq/xiangqing5.jpg',
        content: 'choushabi'
      },
      {
        url:'../../images/xq/xiangqing6.jpg',
        content: 'choushabi'
      } 
    ],
    index: 0
  },   
  onLoad: function(options) {
    this.setData({
      index: options.index
    })
  }    
}) 